<?php
namespace app\common\model;

class FruitSecondLog extends \think\Model {
	protected $table = 'farm_fruit_second_log';

	public function getTypeAttr($value) {
		$status = [
			1 => '充值果子',
			2 => '收获果子',
			3 => '出售果子',
			4 => '购买果子',
			5 => '兑换金币',
			6 => '抽奖'
		];

		return $status[$value];
	}
}
?>